Skip to main content

titleFontWeight

Type​

property

Summary​

This property sets the weight (or bold) of the title font.

Syntax​

set the titleFontWeight of widget to {"normal" | "bold" | "lighter" | "bolder" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "inherit" | "initial" | "revert" | "unset"}
get the titleFontWeight of widget

Description​

The titleFontWeight property sets the weight (or bold) of the title font. The available weights depend on the font family currently configured for the title. https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight

Examples​

# Keyword values
set the titleFontWeight of widget "Chart View" to "bold"
# Keyword values relative to the parent
set the titleFontWeight of widget "Chart View" to "lighter"
# Numeric keyword values
set the titleFontWeight of widget "Chart View" to 300
# Global values
set the titleFontWeight of widget "Chart View" to "unset"

Compatibility and Support​

OS

mac

windows

linux

ios

android

web